clearvars -except Globaloption option

%% Saving parameter estimates to automatically update the paper
fID = fopen('../../results/tables_main/UK/full/Table_UK_sumstats.tex', 'w');

%% Baseline Results
load MAT\uk_fullsample.mat
fprintf(fID, '\\newcommand{\\fullukmeansurplusgdppct}{%4.2f}\n', 100 * mean(surplusgdp));
gdebt = data.debttogdplevel(2:end);
fprintf(fID, '\\newcommand{\\fullukdebtgdp}{%4.2f}\n', nanmean(gdebt)); %marketable debt
fprintf(fID, '\\newcommand{\\fullukdebtgdppct}{%4.2f}\n', 100 * nanmean(gdebt));

%% Close File
fclose(fID);
